export type IObject = { [key in string]: any };
export type FileType = '.xlsx' | '.pdf' | '.docx';
export type ExportParams = {
  url: string;
  params: IObject;
  fileInfo: {
    fileName?: string | number;
    fileExtra: FileType;
  };
  onSuccess?: () => void;
  onFail?: () => void;
};
